package cn.mihoyo.system.service.impl;

import cn.mihoyo.base.service.impl.BaseServiceImpl;
import cn.mihoyo.system.domain.Detail;
import cn.mihoyo.system.mapper.DetailMapper;
import cn.mihoyo.system.service.IDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IDetailServiceImpl extends BaseServiceImpl<Detail> implements IDetailService {
    @Autowired
    private DetailMapper detailMapper;

    @Override
    public List<Detail> findByIds(Long id) {
        return detailMapper.findByIds(id);
    }

    @Override
    public List<Detail> findNurseState() {
        return detailMapper.findNurseState();
    }

    @Override
    public List<Detail> findBedState() {
        return detailMapper.findBedState();
    }

    @Override
    public List<Detail> findOldManSex() {
        return detailMapper.findOldManSex();
    }

    @Override
    public List<Detail> findOldManPhysical() {
        return detailMapper.findOldManPhysical();
    }
}
